package homework2;

public class Test1 {

	public static void main(String[] args) {
		int count=0;
		for(int i=1;i<=10000;i++) {
			if(i%5==0) {
				count++;
				System.out.print(i+" ");
				if(count%20==0) {
					System.out.println();
				}
			}
		}
	}
}
